package com.dormitory.javadormitory.service.impl;

import com.dormitory.javadormitory.entity.UserAccount;
import com.dormitory.javadormitory.mapper.WarrantyMapper;
import com.dormitory.javadormitory.service.WarrantyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WarrantyServiceImpL implements WarrantyService {


    @Autowired
    private WarrantyMapper warrantyMapper;

    @Override
    public UserAccount findById(String userId) {
        return warrantyMapper.findById(userId);
    }
}
